package com.lhkj.iams.framework.webservice.service.impl;

import cn.hutool.core.lang.UUID;
import com.lhkj.iams.framework.webservice.service.ProspectService;
import org.springframework.stereotype.Component;

import javax.jws.WebService;

@Component
@WebService(
        targetNamespace = "http://prospect.service.com", // 与接口中的命名空间一致,一般是接口的包名倒
        endpointInterface = "com.lhkj.iams.framework.webservice.service.ProspectService",
        serviceName ="prosService" ) //暴露的接口名字
public class ProspectServiceImpl implements ProspectService {
    @Override
    public String sendMessage(String message) {
        return UUID.fastUUID().toString();
    }
}
